Skip to content

fix(ci): post datadog-api-spec statuses to ddoghq org - #909

Merged
MintsInc merged 1 commit into
mainfrom
ulysse.mavrocordatos/fix-api-spec-status-org
Oct 12, 2026
Merged

MintsInc merged 1 commit into
mainfrom
ulysse.mavrocordatos/fix-api-spec-status-org

Conversation

@MintsInc

@MintsInc MintsInc commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Context

The datadog-api-spec repository moved from the DataDog org to ddoghq. The status-reporting jobs still target DataDog/datadog-api-spec, so Send PR Approval Status now fails with a 404 on generated PRs, e.g. https://github.com/DataDog/pup/actions/runs/38248983717/job/114810041363?pr=908. The report job in ci.yml has the same problem.

Changes

  • Both jobs now request their token for ddoghq/datadog-api-spec and pass owner: ddoghq to the status actions, matching the other API client repos.
  • The matching token policies already exist on the spec repo side; no change needed there.

Tests

Not verified yet. These jobs only run on datadog-api-spec/generated/* branches, so this PR doesn't exercise them. Planned: after merge, push to (or close/reopen) #908 and confirm Send PR Approval Status passes and both status checks are posted. Re-running the failed job won't pick up the fix because it reuses the original merge SHA.

Appendix

Follow-up: .github/chainguard/datadog-api-spec.ci-cd.generate.sts.yaml only trusts the old DataDog/datadog-api-spec and can be removed.

datadog-api-spec moved from DataDog to ddoghq and the DataDog copy is
archived, so posting review/CI statuses to DataDog/datadog-api-spec 404s.
Point both the octo-sts token scope and the status actions at ddoghq.
@MintsInc
MintsInc marked this pull request as ready for review October 12, 2026 12:51
@MintsInc
MintsInc requested a review from a team as a code owner October 12, 2026 12:51

@datadog-official datadog-official Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

Both workflows consistently target ddoghq/datadog-api-spec for token issuance and status posting. The completed static review identified no actionable regression.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 7c2e791

@MintsInc
MintsInc enabled auto-merge October 12, 2026 12:56
@MintsInc
MintsInc merged commit 2651bfd into main Oct 12, 2026
11 checks passed
@MintsInc
MintsInc deleted the ulysse.mavrocordatos/fix-api-spec-status-org branch October 12, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants